package com.allqj.sfx.ddd.member.domain.service;

import com.allqj.sfx.ddd.member.domain.entity.flow.FlowEvent;

/**
 * @author sjw
 * @className FlowCallBack
 * @date 2022/7/21 18:39
 * @description: 工作流回调
 */
public interface FlowCallBack {
    // 启动流程
    void start(FlowEvent event);

    // 审核中
    void doing(FlowEvent event);

    // 审核通过
    void pass(FlowEvent event);

    // 驳回
    void reject(FlowEvent event);
}
